package com.older.wptsb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.older.wptsb.domain.po.CommunityContact;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CommunityContactMapper extends BaseMapper<CommunityContact> {
    @Select("select * from community_contact where contact_name=#{contactName}")
    CommunityContact getCommunityUser1(String contactName);
    @Delete("delete from community_contact where id=#{id}")
    void deleteId(Integer id);
}
